package com.yz.entity.dto;

import com.yz.entity.Section;

public class SectionDto extends Section{
	private Integer page;
	private Integer limit;

	private Integer maxAge;
	private Integer minAge;

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

	public Integer getMaxAge() {
		return maxAge;
	}

	public void setMaxAge(Integer maxAge) {
		this.maxAge = maxAge;
	}

	public Integer getMinAge() {
		return minAge;
	}

	public void setMinAge(Integer minAge) {
		this.minAge = minAge;
	}

	@Override
	public String toString() {
		System.out.println(super.toString());
		return "UserDto [page=" + page + ", limit=" + limit + ", maxAge=" + maxAge + ", minAge=" + minAge + "]";
	}
}
